package com.tq.http;

import java.io.IOException;
import java.io.InputStream;

import org.apache.http.ParseException;



public interface IHttpResponse {

	
	
	public int statusCode();
	
	public InputStream getResponseBody() throws IllegalStateException, IOException;
	
	public byte[] getResponseBodyAsByte() throws IOException;
	
	public String getResponseBodyAsString() throws ParseException, IOException;
	
	
	
	
	
}
